<?php
class Topic extends ActiveRecord\Model {
    
    static $table_name = 'ml_forum_topics';

    static $has_one = array(
        array('post', 'primary_key' => 'id', 'order' => 'id DESC'),
    );
}
?>